/*
 * Created on 05/05/2005
 *
 */
package tests.model.more;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * @author Bajales Raul
 *
 */
public class Moto {

    private String ownerName;
    private String colour;
    
    /**
     * Constructor
     */
    public Moto() {
        super();
    }

    /**
     * @param ownerName
     * @param colour
     */
    public Moto(String ownerName, String colour) {
        super();
        this.ownerName = ownerName;
        this.colour = colour;
    }
    /**
     * @return Returns the colour.
     */
    public String getColour() {
        return colour;
    }
    /**
     * @param colour The colour to set.
     */
    public void setColour(String colour) {
        this.colour = colour;
    }
    /**
     * @return Returns the ownerName.
     */
    public String getOwnerName() {
        return ownerName;
    }
    /**
     * @param ownerName The ownerName to set.
     */
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
